package com.zuoye.bean;

import java.time.LocalDate;
import java.util.Date;

public class UserBean {
    private int id;
    private String name;
    private String password;
    private LocalDate birthday;
    private String level;

    public UserBean(){

    }

    public UserBean( String name, String password, LocalDate birthday, String level) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.birthday = birthday;
        this.level = level;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public LocalDate getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDate birthday) {
        this.birthday = birthday;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", birthday=" + birthday +
                ", level='" + level + '\'' +
                '}';
    }
}
